package everything;


public class Flag {
	int _x,_y,_id;

	public Flag(int x, int y, int id){
		_x = x;
		_y = y;
		_id = id;
	}

	public Flag(int x, int y){
		_x = x;
		_y = y;
	}

	public int getX() {
		return _x;
	}

	public int getY() {
		return _y;
	}

	public boolean isLocatedIn(int x, int y){
		return _x == x && _y == y;
	}
	
	public int getId() {
		return _id;
	}

}
